#ifndef BOX_H
#define BOX_H

#include <iostream>
#include<utility>
using namespace std::rel_ops;
using namespace std;

class Box
{
    public:

        Box() = default;

        explicit Box(double l);

        Box(double l,double w,double h);

        ~Box();

        double volume();

        bool explicitTest(Box other);

        void setLength(double length);

        double getLength() const;

         static size_t oc ;

         static inline size_t objectCount {100};

        bool operator==( Box& aBox);
    protected:

    private:


        double length {1.0};
        double width {1.0};
        double height {1.0};
};

#endif // BOX_H
